package p1;

import java.lang.reflect.Method;

public class Test {
    public static void main(String[] args) throws NoSuchMethodException {
        AnnoTest annoTest=new AnnoTest();
        annoTest.test();

        Class<? extends AnnoTest>c= annoTest.getClass();
        Method md=c.getMethod("test");


Anno anno=md.getAnnotation(Anno.class);


        System.out.println(anno.comment());
        System.out.println(anno.order());

    }
}
